<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
        <script type="text/javascript">
            var vjson = {valores: [{id:"miguel",valor:55}]};
            function fnCorreVector(){
                for(var x in vjson.valores){
                    if (vjson.valores.hasOwnProperty(x)) {
                        alert(x + " -> " + vjson.valores[x].id);
                    }
                }
            }
        </script>
    </head>
    <body>
        <div>TODO write content</div>
        <input type="button" value="Prueba" onclick="vjson.valores[0].si = 500;" />
        <input type="button" value="crea" onclick="vjson.valores.push({id:'Angel',valor:55});" />
        <input type="button" value="crea" onclick="fnCorreVector();" />

    </body>
</html>
